package com.example.app1.web.Common;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CommonController {

    @GetMapping("hello")
    public String hello(@RequestHeader(value = "X-AUTH-ID", required = false) String operator) {
        return "hello:" + operator;
    }
}
